package day008.itheima_01;

public class ArrayDemo {
    public static void main(String[] args) {
//        int[] arr=new int[]{1,2,3};
        int[] arr = {1, 2, 3};
        System.out.println(arr[0]);
        System.out.println(arr[1]);
        System.out.println(arr[2]);

        System.out.println("-----------");

        arr[0] = 4;
        arr[1] = 5;
        arr[2] = 6;
        System.out.println(arr[0]);
        System.out.println(arr[1]);
        System.out.println(arr[2]);
    }
}
